import axios from '@/service'
export const TOKEN_KEY = 'token'

export const setToken = (token) => {
  // sessionStorage[TOKEN_KEY] = token
}

export const getToken = () => {
  // const token = sessionStorage[TOKEN_KEY]
  // if (token) return token
  // else return false
}


export const getData = (data) => {
  return axios.request({
    url: '/api/h5/content/statistical/data',
    data
  })
}